<?php

declare(strict_types=1);

namespace app\model;

use think\Model;
use think\model\concern\SoftDelete;

/**
 * 
 *
 * @mixin \think\Model
 * @property int $id
 * @property string $code code
 * @property string $app_id
 * @property int $related_id 对应id
 * @property bool $try_times 有效期内使用次数
 * @property string $expired_at
 * @property string $deleted_at
 * @property string $created_at
 * @method static \think\db\Query onlyTrashed()
 * @method static \think\db\Query withTrashed()
 */
class OilAuth extends Model
{
    use SoftDelete;
    protected $deleteTime = 'deleted_at';
    protected $autoWriteTimestamp = 'datetime';
}
